
local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.CharacterAnimationCtrl());
local animation_cfg = CommonOHOH.config.Animation

function M.new(self,...)
	return M(self,...);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);

end;

function M.dtor(self)

	M.super.dtor(self);
end;


function M.GetAnimator(self)
	if not self.Animator then
		self.Animator= self.parent:WaitForChild_Loop(("AnimationController.Animator"))
	end
	return self.Animator
end

function M.LoadAnimationSys(self,an)
	if not self.AnimationController then
		self.AnimationController= self.parent:WaitForChild_Loop(("AnimationController"))
	end
	return self.AnimationController:LoadAnimation(an)
end


return M